/**
 * Personalized exception thrown when passing messages
 * 
 * @author "Dylan &amp; Lauren"
 */
public class PostalException extends Exception {
	
	/**
	 * A constructor for the default message.
	 */
	public PostalException(){
		super();
	}

	/**
	 * A constructor for problems caused by Messages.
	 */
	public PostalException(Message m){
		super("Exception with message: " + m  );
	}
	
	/**
	 * A constructor for problems caused by Addresses.
	 */
	public PostalException(Address a){
		super("Exception with address: " + a);
	}
}
